$("#btn1").click(function() {
	let str = $("#div1").attr("style");
	let array = str.split(";");
	//输出样式
	let str1 = "";
	for (let a of array) {
		str1 += a + "\n";
	}
	alert(str1)
});
$("#btn2").click(function() {
	$("#div1").css({
		"width":"600px",
		"height":"500px",
		"border": "1px solid green",
		"background-color": "lightblue"
	});
});
$("#btn3").click(function() {
	$("#div1").css({
		"width":"500px",
		"height":"400px",
		"border": "1px solid #ff6600",
		"background-color": "#fef4eb"
	});
});
